Dreitier\Nadi\Vendor\Twig\Environment C

Total Complexity 104
Dependencies 33
Dependents 45
Total lines 794
Lines of code 331
Logical lines of code 157
Comment lines 253
Methods 61
Properties 18

Methods 61

Method Rating Maintainability Complexity Lines of code
loadTemplate()
A
49 9 30
resolveTemplate()
S
55 7 19
setCache()
S
60 5 13
getRuntime()
S
62 4 11
createTemplate()
S
55 3 18
addGlobal()
S
63 4 10
__construct()
S
54 2 21
setCharset()
S
70 3 6
mergeGlobals()
S
66 3 8
getGlobals()
S
66 3 9
compileSource()
S
63 3 10
getTemplateClass()
S
72 3 4
compile()
S
70 2 6
parse()
S
70 2 6
tokenize()
S
70 2 6
isTemplateFresh()
S
78 2 3
load()
S
70 2 6
getCache()
S
80 2 3
getFilter()
S
80 1 3
getTokenParser()
S
80 1 3
getBinaryOperators()
S
81 1 3
registerUndefinedTokenParserCallback()
S
81 1 3
addNodeVisitor()
S
81 1 3
getNodeVisitors()
S
81 1 3
addFilter()
S
81 1 3
getUnaryOperators()
S
81 1 3
getFunctions()
S
81 1 3
registerUndefinedFilterCallback()
S
81 1 3
getTest()
S
80 1 3
registerUndefinedFunctionCallback()
S
81 1 3
getFilters()
S
81 1 3
getFunction()
S
80 1 3
addTest()
S
81 1 3
getTests()
S
81 1 3
addFunction()
S
81 1 3
addTokenParser()
S
81 1 3
getTokenParsers()
S
81 1 3
getCharset()
S
82 1 3
getExtensions()
S
81 1 3
display()
S
80 1 3
disableDebug()
S
77 1 4
isDebug()
S
82 1 3
enableAutoReload()
S
81 1 3
disableAutoReload()
S
81 1 3
isAutoReload()
S
82 1 3
enableStrictVariables()
S
77 1 4
disableStrictVariables()
S
77 1 4
isStrictVariables()
S
82 1 3
render()
S
80 1 3
setLexer()
S
81 1 3
setExtensions()
S
77 1 4
setParser()
S
81 1 3
setCompiler()
S
81 1 3
setLoader()
S
81 1 3
getLoader()
S
82 1 3
enableDebug()
S
77 1 4
hasExtension()
S
80 1 3
addRuntimeLoader()
S
80 1 3
getExtension()
S
80 1 3
addExtension()
S
77 1 4
updateOptionsHash()
S
65 1 10